package com.example.ssm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: dang
 * @Description: TODO
 * @Date: 2023/12/5 18:25 星期二
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Address {
    private Integer id;
    private String addr;
    private String phone;
    private String postcode;
    private Integer userid;

    public Address(String addr, String phone, String postcode, Integer user_id) {
        this.addr = addr;
        this.phone = phone;
        this.postcode = postcode;
        this.userid = user_id;
    }
}
